import { createElement } from "react";
import { render } from "react-dom";

const oDiv = createElement('div', {
    className: 'box'
}, ['123'])

render(oDiv, document.getElementById('root'), () => {
    console.log('挂载成功');
})